package cn.miw.android.bdmp3.model;

import java.io.Serializable;

/**
 * 本列表从http://cache.music.soso.com/sosocache/release/web_player.js?version=2.2.1
 * 这里获取再分离出具体代码
 * 
 * @author Administrator
 * 
 */
@SuppressWarnings("serial")
public class SoSoRankList  implements Serializable{
	// var rankList=[{id:1,name:'新歌榜',link:'sosoRank/hit_new.js'},
	private int id;
	private String name;
	private String link;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLink() {
		// http://music.soso.com/portal/hit/xml/sosoRank/hit_new.js
		//12-29 22:59:02.715: I/System.out(359): RankList [id=32, name=游戏动漫, link=http://music.soso.com/portal/hit/xml/special/hit_game.js]
		String p = "http://music.soso.com/portal/hit/xml/";
		return p + link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	@Override
	public String toString() {
		return "RankList [id=" + id + ", name=" + name + ", link=" + link + "]";
	}

}
